{include file='header.tpl'}
<div class="content">
    {if $photo}
    <div class="navigation">
	<a href="{$conf.conf_url}">{t}strona główna{/t}</a> &raquo; {if $subpage} {$subpage} {/if}
    </div>
    <div class="phcontent">
	<h2>{$photo.photo_title}</h2>
	<div class="phimg">
	    {$photo.photo_img}
	    {if $exif}
		<div class="phexif">{$photo.photo_exif}</div>
	    {/if}
	    <div class="phinfo">{$photo.photo_desc}</div>
	</div>
	<div class="photo-info">{$photoinfo}</div>
	<div class="blockoptions">
	    {if $exif}<div class="exif">exif</div>{/if}{if $photo.photo_desc}<div class="opis">{t}opis{/t}</div>{/if}
	    <div class="blockstats">
		{$photo.rating}
		{$photo.oceny}
		<div class="visit">{t}odsłon{/t}: {$photo.photo_visit}</div>
	    </div>
	    <div class="clr"></div>
	</div>
	<div class="clr"></div>
	{if $navi}{$navi}{/if}
    </div>
    {include file='comments.tpl'}
    {else}
    <div class="entry">{$linkback}</div>
    {/if}
</div>
<div class="sidebar">
    {include file='right.tpl'}
</div>
<div class="clr"></div>
</div>
{if $rating}{$rating}{/if}
{include file='footer.tpl'}